function createAnother(original) {
  let clone = Object.create(original);
  // 添加了一个实例方法
  clone.sayHi = function() {
    console.log('hi');
  };
  return clone;
}

let person = {
  name: 'wzy',
  friends: ['wz', 'zz', 'ww']
};

let another = createAnother(person);
another.sayHi();